﻿using System;using ERP_RORZE_SYSTEM;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP_RORZE_DLL.Product.database
{
    public class ClsPartDataTable
    {
        #region Members
        protected int iD;
        protected DateTime inputDate;
        protected string partID;
        protected string materialID;
        protected string materialType;
        protected string workpiecesize;
        protected string shape;
        protected double thickness;
        protected string width;
        protected double lenght;
        protected bool cut;
        protected bool rawMachine;
        protected bool handFinish;
        protected bool hairLine;
        protected bool wAnod;
        protected bool bAnod;
        protected bool blast30;
        protected bool blast60;
        protected bool seal;
        protected bool migaki;
        protected bool bafu;
        protected bool cleanwave;
        protected bool vacPac;
        protected bool helisert;
        protected bool serialNo;
        protected bool palCoat;
        protected string otherpro;
        protected decimal price;
        protected string memo;
        protected string note;
        protected bool caciras;
        protected bool inside;
        protected bool heru;
        protected bool niken;
        protected bool maiBongDP;
        protected bool maBong;
        protected bool inLuoi;
        protected int cofigID;
        #endregion
        #region Public Properties

        /// <summary>
        /// Property relating to database column ID(int,not null)
        /// </summary>
        public int ID
        {
            get { return iD; }
            set { iD = value; }
        }

        /// <summary>
        /// Property relating to database column InputDate(datetime,null)
        /// </summary>
        public DateTime InputDate
        {
            get { return inputDate; }
            set { inputDate = value; }
        }

        /// <summary>
        /// Property relating to database column PartID(nvarchar(50),null)
        /// </summary>
        public string PartID
        {
            get { return partID; }
            set { partID = value; }
        }

        /// <summary>
        /// Property relating to database column MaterialID(nvarchar(50),null)
        /// </summary>
        public string MaterialID
        {
            get { return materialID; }
            set { materialID = value; }
        }

        /// <summary>
        /// Property relating to database column MaterialType(nvarchar(50),null)
        /// </summary>
        public string MaterialType
        {
            get { return materialType; }
            set { materialType = value; }
        }

        /// <summary>
        /// Property relating to database column Workpiecesize(nvarchar(50),null)
        /// </summary>
        public string Workpiecesize
        {
            get { return workpiecesize; }
            set { workpiecesize = value; }
        }

        /// <summary>
        /// Property relating to database column shape(nvarchar(50),null)
        /// </summary>
        public string Shape
        {
            get { return shape; }
            set { shape = value; }
        }

        /// <summary>
        /// Property relating to database column Thickness(float,null)
        /// </summary>
        public double Thickness
        {
            get { return thickness; }
            set { thickness = value; }
        }

        /// <summary>
        /// Property relating to database column width(float,null)
        /// </summary>
        public string Width
        {
            get { return width; }
            set { width = value; }
        }

        /// <summary>
        /// Property relating to database column lenght(float,null)
        /// </summary>
        public double Lenght
        {
            get { return lenght; }
            set { lenght = value; }
        }

        /// <summary>
        /// Property relating to database column Cut(bit,null)
        /// </summary>
        public bool Cut
        {
            get { return cut; }
            set { cut = value; }
        }

        /// <summary>
        /// Property relating to database column RawMachine(bit,null)
        /// </summary>
        public bool RawMachine
        {
            get { return rawMachine; }
            set { rawMachine = value; }
        }

        /// <summary>
        /// Property relating to database column HandFinish(bit,null)
        /// </summary>
        public bool HandFinish
        {
            get { return handFinish; }
            set { handFinish = value; }
        }

        /// <summary>
        /// Property relating to database column HairLine(bit,null)
        /// </summary>
        public bool HairLine
        {
            get { return hairLine; }
            set { hairLine = value; }
        }

        /// <summary>
        /// Property relating to database column WAnod(bit,null)
        /// </summary>
        public bool WAnod
        {
            get { return wAnod; }
            set { wAnod = value; }
        }

        /// <summary>
        /// Property relating to database column BAnod(bit,null)
        /// </summary>
        public bool BAnod
        {
            get { return bAnod; }
            set { bAnod = value; }
        }

        /// <summary>
        /// Property relating to database column Blast30(bit,null)
        /// </summary>
        public bool Blast30
        {
            get { return blast30; }
            set { blast30 = value; }
        }

        /// <summary>
        /// Property relating to database column Blast60(bit,null)
        /// </summary>
        public bool Blast60
        {
            get { return blast60; }
            set { blast60 = value; }
        }

        /// <summary>
        /// Property relating to database column Seal(bit,null)
        /// </summary>
        public bool Seal
        {
            get { return seal; }
            set { seal = value; }
        }

        /// <summary>
        /// Property relating to database column Migaki(bit,null)
        /// </summary>
        public bool Migaki
        {
            get { return migaki; }
            set { migaki = value; }
        }

        /// <summary>
        /// Property relating to database column Bafu(bit,null)
        /// </summary>
        public bool Bafu
        {
            get { return bafu; }
            set { bafu = value; }
        }

        /// <summary>
        /// Property relating to database column Cleanwave(bit,null)
        /// </summary>
        public bool Cleanwave
        {
            get { return cleanwave; }
            set { cleanwave = value; }
        }

        /// <summary>
        /// Property relating to database column VacPac(bit,null)
        /// </summary>
        public bool VacPac
        {
            get { return vacPac; }
            set { vacPac = value; }
        }

        /// <summary>
        /// Property relating to database column Helisert(bit,null)
        /// </summary>
        public bool Helisert
        {
            get { return helisert; }
            set { helisert = value; }
        }

        /// <summary>
        /// Property relating to database column SerialNo(bit,null)
        /// </summary>
        public bool SerialNo
        {
            get { return serialNo; }
            set { serialNo = value; }
        }

        /// <summary>
        /// Property relating to database column PalCoat(bit,null)
        /// </summary>
        public bool PalCoat
        {
            get { return palCoat; }
            set { palCoat = value; }
        }

        /// <summary>
        /// Property relating to database column Otherpro(nvarchar(50),null)
        /// </summary>
        public string Otherpro
        {
            get { return otherpro; }
            set { otherpro = value; }
        }

        /// <summary>
        /// Property relating to database column Prive(money,null)
        /// </summary>
        public decimal Price
        {
            get { return price; }
            set { price = value; }
        }

        /// <summary>
        /// Property relating to database column Memo(nvarchar(250),null)
        /// </summary>
        public string Memo
        {
            get { return memo; }
            set { memo = value; }
        }

        /// <summary>
        /// Property relating to database column Note(nvarchar(250),null)
        /// </summary>
        public string Note
        {
            get { return note; }
            set { note = value; }
        }

        /// <summary>
        /// Property relating to database column Caciras(bit,null)
        /// </summary>
        public bool Caciras
        {
            get { return caciras; }
            set { caciras = value; }
        }

        /// <summary>
        /// Property relating to database column Inside(bit,null)
        /// </summary>
        public bool Inside
        {
            get { return inside; }
            set { inside = value; }
        }

        public bool Heru
        {
            get { return heru; }
            set { heru = value; }
        }

        public bool Niken
        {
            get { return niken; }
            set { niken = value; }
        }

        public bool MaiBongDP
        {
            get { return maiBongDP; }
            set { maiBongDP = value; }
        }

        public bool MaBong
        {
            get { return maBong; }
            set { maBong = value; }
        }

        public bool InLuoi
        {
            get { return inLuoi; }
            set { inLuoi = value; }
        }

        public int CofigID
        {
            get { return cofigID; }
            set { cofigID = value; }
        }
        #endregion

    }
}
